package com.x;

import jakarta.servlet.ServletContext;
import jakarta.servlet.ServletException;
import org.springframework.web.WebApplicationInitializer;

/**
 * ClassName: Main
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.09.10 21:48
 */
public class Main implements WebApplicationInitializer {

    //每次启动工程, onStartup()方法自动调用
    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        System.out.println("Main.onStartup");
    }
}
